<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="__PUBLIC__/style/common.css" />
<link type="text/css" rel="stylesheet" href="../Public/style/main.css" />
<script src="__PUBLIC__/js/jquery-1.7.2.min.js"></script>
</head>

<body>
	<div id="order">
		<table>
			<tr><th>邮箱</th><th>注册时间</th><th>操作</th></tr>
			<foreach name="userList" item="list">
			<tr><td>{$list.user_email}</td><td>{$list.user_register_time|date='Y-m-d H:i:s',###}</td><td><a href="javascript:;" onclick="reSend(this,{$list.user_id},'{$list.user_email}')">重新发送邮件</a></td></tr>
			</foreach>
		</table>
		<div><a href="__URL__/tixing">邮件提醒</a></div>
	</div>
</body>
</html>
<script>
	function reSend(obj,user_id,user_email)
	{
		$.post("__APP__/Email/reSend",{user_id:user_id,user_email:user_email},function(data){
			if(data == 1)
			{
				$(obj).remove();		
			}else{
				alert(data);
			}
		});
	}
</script>